package com.jfinal.bbsapp.sysconfig;

import com.jfinal.aop.Clear;
import com.jfinal.aop.Inject;
import com.jfinal.core.Controller;
import com.jfinal.core.Path;

@Path("/sysconfig")
public class SysConfigController extends Controller {	

	@Inject
	private SysConfigService srv;
	
	//根据参数配置获取参数配置值
	@Clear
	public void getval() {
		renderJson(srv.getval(getPara("configcode")));
	}
	
}
